import { ecs } from "../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";

/** 卸下装备 */
@ecs.register('EquipUnwield')
export class EquipUnwieldComp extends ecs.Comp {
    reset() {

    }
}

export class EquipUnwieldSystem extends ecs.ComblockSystem implements ecs.IEntityEnterSystem {
    filter(): ecs.IMatcher {
        return ecs.allOf(EquipUnwieldComp);
    }

    entityEnter(e: ecs.Entity): void {
        // 注：自定义业务逻辑


        e.remove(EquipUnwieldComp);
    }
}